package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.item.vo.CategoryView;
import com.atguigu.gmall.product.entity.BaseCategory1;
import com.atguigu.gmall.product.vo.CategoryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

// @Mapper
public interface BaseCategory1Mapper extends BaseMapper<BaseCategory1> {

    public abstract List<CategoryVo> findAllCategory();

    public abstract CategoryView findCategoryViewBySkuId(Long skuId);
}
